Add lint for common testharness.js mistakes and clean up tests that make those mistakes.
diff --git a/XMLHttpRequest/send-data-arraybuffer.htm b/XMLHttpRequest/send-data-arraybuffer.htm index 62139ad..4a3d461 100644 --- a/XMLHttpRequest/send-data-arraybuffer.htm +++ b/XMLHttpRequest/send-data-arraybuffer.htm
@@ -5,6 +5,7 @@ <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-status-attribute" data-tested-assertations="following::ol[1]/li[3]"/> <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-response-attribute" data-tested-assertations="following::ol[1]/li[3]"/> <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> <title>XMLHttpRequest: The send() method: ArrayBuffer data</title> </head> @@ -27,7 +28,7 @@ xhr.onreadystatechange = function() { - if (xhr.readyState == 4) + if (xhr.readyState == 4) { test.step(function() {